package com.ropeok.dao;

import com.ropeok.entity.Privilege;

import java.util.List;

public interface PrivilegeDao {
    //查询权限列表
    List<Privilege> getPrivilegeList();
    //增加权限
    int  addPrivilege(Privilege privilege);
    //根据ID查询权限
    Privilege findPrivilegeByID(long id);
    //删除权限
    int deletePrivilege(long id);
    //更新权限
    Integer updatePrivilege(Privilege privilege);
}
